package com.gc.server.vo.down;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.gc.server.entity.SaleRecordEntity;
import com.gc.server.vo.SaleRecordVo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 销量实体
 * 表名 sale_record
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date ${datetime}
 */
@Data
public class SaleSumDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;


    //产品ID
    @ExcelProperty("产品名")
    private String goodsName;

    //产品ID
    @ExcelProperty("产品编号")
    private String goodsCode;

    //数量
    @ExcelProperty("数量")
    private Integer amount;

    //单位
    @ExcelProperty("单位")
    private String spec;


    public SaleSumDown(String goodsName, String goodsCode, Integer amount,String spec) {
        this.goodsName = goodsName;
        this.goodsCode = goodsCode;
        this.amount = amount;
        this.spec = spec;
    }
}
